package com.ruoyi.system.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 文档数据表 sys_md
 * @author renzhihao
 * @date 2024/01/31 16:06
 */
public class SysMd extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 文档ID
     */
    private Long mdId;

    /**
     * 文档标题
     */
    private String mdName;

    /**
     * 文档内容
     */
    private String content;

    /**
     * 文档html
     */
    private String html;

    /**
     * 排序
     */
    private String sort;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    public Long getMdId() {
        return mdId;
    }

    public void setMdId(Long mdId) {
        this.mdId = mdId;
    }

    public String getMdName() {
        return mdName;
    }

    public void setMdName(String mdName) {
        this.mdName = mdName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getHtml() {
        return html;
    }

    public void setHtml(String html) {
        this.html = html;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("mdId", mdId)
                .append("mdName", mdName)
                .append("content", content)
                .append("html", html)
                .append("sort", sort)
                .append("delFlag", delFlag)
                .toString();
    }
}
